home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cato / Xm / XmStringDraw.z / XmStringDraw
Encoding:
Text File  |  1998-10-20  |  5.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV          XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww - A compound string function that draws a
  10.           compound string in an X window
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
  14.  
  15.           vvvvooooiiiidddd XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww ((((_d, _w, _f_o_n_t_l_i_s_t, _s_t_r_i_n_g, _g_c, _x, _y, _w_i_d_t_h, _a_l_i_g_n_m_e_n_t, _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n, _c_l_i_p))))
  16.                DDDDiiiissssppppllllaaaayyyy   * _d;;;;
  17.                WWWWiiiinnnnddddoooowwww    _w;;;;
  18.                XXXXmmmmFFFFoooonnnnttttLLLLiiiisssstttt_f_o_n_t_l_i_s_t;;;;
  19.                XXXXmmmmSSSSttttrrrriiiinnnngggg  _s_t_r_i_n_g;;;;
  20.                GGGGCCCC        _g_c;;;;
  21.                PPPPoooossssiiiittttiiiioooonnnn  _x;;;;
  22.                PPPPoooossssiiiittttiiiioooonnnn  _y;;;;
  23.                DDDDiiiimmmmeeeennnnssssiiiioooonnnn _w_i_d_t_h;;;;
  24.                uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr_a_l_i_g_n_m_e_n_t;;;;
  25.                uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr_l_a_y_o_u_t__d_i_r_e_c_t_i_o_n;;;;
  26.                XXXXRRRReeeeccccttttaaaannnngggglllleeee* _c_l_i_p;;;;
  27.  
  28.  
  29.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  30.           This page documents version 1.2 of the Motif library.
  31.  
  32.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  33.           XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww draws a compound string in an X Window.  If a
  34.           compound string segment uses a font list entry that defines
  35.           a font set, the graphic context passed to this routine will
  36.           have the GC font member left in an undefined state.  The
  37.           underlying XXXXmmmmbbbbSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww function called by this routine
  38.           modifies the font id field of the GC passed into it and does
  39.           not attempt to restore the font id to the incoming value.
  40.           If the compound string segment is not drawn using a font
  41.           set, the graphic context must contain a valid font member.
  42.           Graphic contexts created by XXXXttttGGGGeeeettttGGGGCCCC are not valid for this
  43.           routine; instead, use XXXXttttAAAAllllllllooooccccaaaatttteeeeGGGGCCCC to create a graphic
  44.           context.
  45.  
  46.  
  47.           _d           Specifies the display.
  48.  
  49.           _w           Specifies the window.
  50.  
  51.           _f_o_n_t_l_i_s_t    Specifies the font list.
  52.  
  53.           _s_t_r_i_n_g      Specifies the string.
  54.  
  55.           _g_c          Specifies the graphics context to use.
  56.  
  57.           _x           Specifies a coordinate of the rectangle that
  58.                       will contain the displayed compound string.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV          XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           _y           Specifies a coordinate of the rectangle that
  75.                       will contain the displayed compound string.
  76.  
  77.           _w_i_d_t_h       Specifies the width of the rectangle that will
  78.                       contain the displayed compound string.
  79.  
  80.           _a_l_i_g_n_m_e_n_t   Specifies how the string will be aligned within
  81.                       the specified rectangle.  It is either
  82.                       XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____BBBBEEEEGGGGIIIINNNNNNNNIIIINNNNGGGG, XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____CCCCEEEENNNNTTTTEEEERRRR, or
  83.                       XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____EEEENNNNDDDD.
  84.  
  85.           _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n
  86.                       Controls the direction in which the segments of
  87.                       the compound string will be laid out.  It also
  88.                       determines the meaning of the _a_l_i_g_n_m_e_n_t
  89.                       parameter.
  90.  
  91.           _c_l_i_p        Allows the application to restrict the area into
  92.                       which the compound string will be drawn.  If
  93.                       NULL, no clipping will be done.
  94.  
  95.  
  96.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  97.           XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCrrrreeeeaaaatttteeee((((3333XXXX)))).
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.